using System.Windows.Controls;
using System.Windows.Media.Animation;

namespace jSLCore.Client.Presentation.ApplicationContainer
{
    /// <summary>
    /// Only for WPF
    /// </summary>
    public partial class ApplicationContainer : UserControl
    {
        partial void StartShowingForms()
        {
            ShowMainContentContainer();
        }

        partial void ShowMainContentContainer()
        {
                CheckAndSetMainContent();
        }

        private Storyboard dialogFadeIn
        {
            get { return (Storyboard) FindResource("dialogFadeIn"); }
        }

        private Storyboard dialogFadeOut
        {
            get { return (Storyboard)FindResource("dialogFadeOut"); }
        }
        
        private Storyboard FadeInOut
        {
            get { return (Storyboard)FindResource("FadeInOut"); }
        }
    }
}